package test2;

import java.util.Random;
public class Demo2Random {
    public static void main(String[] args) {
        Random random = new Random();
        int data = random.nextInt(100);
        int data2 = random.nextInt(100)+100;
        System.out.println(data);
        System.out.println(data2);

    }
}
